home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 028.dms / 028.adf / Commands_List / File_Management / lock < prev    next >
Encoding:
Text File  |  1993-08-08  |  899 b   |  28 lines

  1. Command Name : Lock
  2.  
  3. Function : Set a disk so it is permanently write enabled.
  4.  
  5. Arguments : <drive> [ON|OFF} [<password>]
  6.  
  7. Location : C directory
  8.  
  9. Even if a disk is write enabled with the tab, this command will let you fix
  10. it so nobody can write to it.  users of one drive need to copy this command
  11. into RAM: first as it only accepts a drive name, not a disk title.  A 
  12. password can be added.  If it is added then the disk can only be unlocked if
  13. the password is entered as an argument to Lock.
  14.  
  15.     WARNING: MAKE SURE YOU REMEMBER YOUR PASSWORD IF YOU LOCK A DISK!
  16.  
  17. Examples
  18.  
  19. Lock Df1: ON Mike
  20.  
  21.         Locks the disk in drive Df1:.  To unlock the disk the password Mike
  22.         must be entered as the [<password>] argument.
  23.  
  24. Lock Df0: OFF Mike
  25.  
  26.         Unlocks the disk in drive Df0: using the password Mike.  If this is
  27.         the wrong password, or the disk is not locked, no changes are made.
  28.